home *** CD-ROM | disk | FTP | other *** search
- Path: mail2news.demon.co.uk!genesis.demon.co.uk
- From: Lawrence Kirby <fred@genesis.demon.co.uk>
- Newsgroups: comp.lang.c
- Subject: Re: Help! Corrupt FIles!
- Date: Wed, 10 Jan 96 18:48:59 GMT
- Organization: none
- Message-ID: <821299739snz@genesis.demon.co.uk>
- References: <4cmqp5$dbl@sonic.net>
- Reply-To: fred@genesis.demon.co.uk
- X-NNTP-Posting-Host: genesis.demon.co.uk
- X-Newsreader: Demon Internet Simple News v1.27
- X-Mail2News-Path: genesis.demon.co.uk
-
- In article <4cmqp5$dbl@sonic.net> greg@sonic.net "Greg Seeger" writes:
-
- >I am having the following problem and would greatly appreciate any
- >
- >thoughts, advice, hints, ideas, on how to solve it.
- >
- >
- >
- > * THE PROBELM *
- >
- >
- >
- >Once in a while, two files will become inaccessable. When the
- >directory is checked the files have become huge, many giga-bytes
- >in size, on a machine which does not have a drive that large.
-
- This is possible on systems that support 'sparse' files. On such systems
- you can typically creare sparse files by seeking beyond the current
- end of file and writing. Only block that are actually written to are
- allocated on disk so it is possible to have a file size much larger than
- the disk size.
-
- >Thus, I'm assuming that the directory entry for those files
- >is corrupted.
-
- That is another possibility.
-
- >3. This problem only happens with a client using a Novell network. The
- > program is running on straight DOS, other networks, and even on
- > Xenix/Unix (re-compiled) and this problem has never appeared.
-
- A program bug can of course be environment sensitive. Maybe there is a bug
- in Novell or maybe your program is corrupting unprotected system workspace
- that Novell happens to be sensitive to.
-
- >It may be a problem with Novell, or even their particular version
- >on Novell, but I have no way to test that. (I am a long ways from
- >the client, and the problem is rare.)
-
- You don't believe in making things easy! :-)
-
- >I would GREATLY appreciate any thoughts, hints or ideas. Feel free
- >to email me if you wish.
-
- I think your most productive approach would be to find some Novell
- expertise. Determine exactly what is happening to the file on the server
- and find out what a client could possibly do to cause it (even in terms
- of corrupting the client system). That might provides some clues as to where
- to look in your code. You really need a more system-specific newsgroup than
- comp.lang.c until you come down to discussing the behaviour of code
- according to the C language.
-
- --
- -----------------------------------------
- Lawrence Kirby | fred@genesis.demon.co.uk
- Wilts, England | 70734.126@compuserve.com
- -----------------------------------------
-